package com.neusoft.feign;

import org.springframework.cloud.openfeign.FeignClient;

import com.neusoft.po.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="food-server",fallback=FoodFeignClientCallBack.class)
public interface FoodFeignClient {
	
	@GetMapping("/FoodController/listFoodByBusinessId/{businessId}")
	 public CommonResult listFoodByBusinessId(@PathVariable("businessId") Integer businessId);
}
